math/big.Float.mode (field)
14 uses
math/big (current package)
float.go#L67: mode RoundingMode
float.go#L201: z.mode = mode
float.go#L224: return x.mode
float.go#L437: if sbit == 0 && (rbit == 0 || z.mode == ToNearestEven) {
float.go#L459: switch z.mode {
float.go#L684: z.mode = x.mode
float.go#L1484: if z.form == zero && z.mode == ToNegativeInf && z.acc == Exact {
float.go#L1551: if z.form == zero && z.mode == ToNegativeInf && z.acc == Exact {
floatmarsh.go#L46: b := byte(x.mode&7)<<5 | byte((x.acc+1)&3)<<3 | byte(x.form&3)<<1
floatmarsh.go#L80: oldMode := z.mode
floatmarsh.go#L83: z.mode = RoundingMode((b >> 5) & 7)
floatmarsh.go#L98: z.mode = oldMode
ftoa.go#L377: x = new(Float).SetPrec(n).SetMode(x.mode).Set(x)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |